package com.zhiche.lisa.bms.service.psup;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zhiche.lisa.bms.dao.model.psup.PsupTraditionPrice;
import com.zhiche.lisa.bms.pojo.vo.psup.PsupTraditionPriceVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 人送传统价格管理 服务类
 * </p>
 *
 * @author linbao
 * @since 2019-06-18
 */
public interface PsupTraditionPriceService extends IService<PsupTraditionPrice> {

    /**
     * 传统价格模式分页查询
     *
     * @param page
     * @return
     */
    Page<PsupTraditionPriceVO> querySdTraditionPricePage(Page<PsupTraditionPrice> page);

    /**
     * 传统价格模式条件查询
     *
     * @param condition
     * @return
     */
    List<PsupTraditionPriceVO> querySdTraditionPriceByCondition(Map<String, Object> condition);

    /**
     * 针对excel的导入的批量新增
     *
     * @param traditionPriceVOList
     * @return
     */
    List<String> createBatchTraditionPriceForExcel(List<PsupTraditionPriceVO> traditionPriceVOList, String token);

    /**
     * 审核
     *
     * @param idList
     * @return
     */
    List<String> auditTraditionPrice(List<Long> idList);

    /**
     * 批量删除     *
     *
     * @param idList
     * @return
     */
    List<String> deleteBatchByIdList(List<Long> idList);

    /**
     * 修改
     *
     * @param psupTraditionPriceVO
     */
    void updateTraditionPice(PsupTraditionPriceVO psupTraditionPriceVO);
}
